package com.lagou.dao;

import com.lagou.domain.Department;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 部门类接口
 */
public interface DepartmentMapper {

    //查询所有
    @Select("select * from department")
    public List<Department> findAll();
}
